Top 10k strings from Microdrive Repair Utility (1988)(K.S. Beddoe).z80 in <root> / bin / z80 / software / Sinclair Spectrum Collection TOSEC.exe / Sinclair ZX Spectrum - Utilities & Educational / Sinclair ZX Spectrum - Utilities & Educational - [Z80] (TOSEC-v2007-01-01) /

Back to the directory listing

   3 ;"cartcheck"
   2 Z0  D< 0DD
   2 ;"cartmend":
   1 SECTOR NOT FOUND$SECTOR NUMBER:$RECORD NUMBER:$FILENAME
   1 Microdrive save
   1 Microdrive load
   1 D8x"x <D8x
   1 D/H|SEC|NAME$SECTOR NUMBER?$
   1 ;"cartmend"
   1 ;"Press C to copy or any other key":
   1 ; "Microdrive repair utility"
   1 *"m";d;"cartcheck"
   1 (c) K. S. BEDDOE 1988
   1 ''"WRITE-This re-writes the sector"'"with the correct checksum so it"'"will read back ok when loaded."'"It will NOT correct the faulty"'"data.":
   1 ''"This program will work with"'"both versions of the Interface 1"'"ROM."
   1 ''"QUIT-This returns to Basic if"'"you do not wish to alter the"'"sector."
   1 ''"PRINT-This prints the contents"'"of the 512 byte sector."'"All printable character codes"'"are printed. Tokens are not."
   1 ''"Hope you find this program"'"useful. Keith MBX 219998853"
   1 ''"A final word-you must decide"'"yourself whether a  faulty data"'"sector is important. If you are"'"one of the rare breed of people"'"who use their Spectrum to run"'"a nuclear power plant"'"(Sorry Clive!) then I would"'"think twice before re-writing"'"the data!!"
   1 ''".rd   This reads a sector from"'"drive d and displays its record"'"number, file and whether it is"'"ok." 
   1 '"This program adds 3 extra"'"commands to ZX basic to assist"'"the repair of corrupted sectors"'"on Microdrive cartridges."'"These commands begin with a ."
   1 '"This indicates that sector 3A"'"data block did not read correcly"'"first time. This is part of the"'"program called CALENDER."
   1 ' "Summary of commands"'"
   1 "the sector with the error still"'"present."
   1 "cartmend"
   1 "cartcheck"
   1 "You are prompted for the sector"'"number which must be entered"'"in HEX. A search is then made"'"for the sector."
   1 "This sometimes helps to identify"'"the location of an error"'"especially in a text file."
   1 "This is to make it easier to use"'"because on most Spectrums the ."'"is available by pressing one key"
   1 "This can be repeated as many"'"times as you wish."'"If you get it to read ok then"'"use the WRITE option NOW! to"'"re-write the sector."'"If you cannot get a good read"'"then you will have to re-write"    
   1 "RETRY-This allows you to read"'"the sector again to get a good"'"read if possible."'"Sometimes moving the cartridge"'"slightly can make it read ok."
   1 "It is early warning of a suspect"'"file."'"The program will probably load"'"ok because the Microdrive system"'"tries 5 times before reporting"'"FILE NOT FOUND"
   1 "In most cases the faulty data"'"will be apparent when the file"'"is loaded and can be easily"'"corrected." 
   1 "In a Text file the error is"'"usually obvios. This also"'"applies to Basic programs."
   1 "If the error is on the header H"'"there is little hope of"'"recovering the file. However if"'"the data block checksum fails it"'"is possible to recover the file."'"Make a note of the faulty"'"sectors and use the .rd command."
   1 "However in machine code files"'"such an error may cause a crash"'"So you have to decide whether"'"an error is likely to be fatal."
   1 "H/D|SECT|FILE"''"D   3A   CALENDER"
   1 "Commands are available now"
   1 "A number of options are then"'"shown:-":
   1 ".vd  This reads each sector of acartridge in drive d and checks that the header and data"'"checksums are ok. If an error isfound the type of error, the"'"sector and the filename are"'"displayed. e.g"''
   1 ".cd   This does a fast catalogue of a cartridge in drive d"'"and  lists the attributes of thefiles."'"e.g. type and length of file."
   1  :$SECTOR FAULTY$SECTOR OK$W=WRITE R=RETRY P=PRINT Q=QUIT$!